<?php


$group = Request::get("group");
$key = Request::get("key");

$result = array();
if($group && $key) {
	$db = DB::getInstance();
	try {
		$sql = "select * from gc_config_history where `group_name` = ? and `key` = ?";
		$result = $db->query($sql, array($group, $key));
		$result['group'] = $group;
		$result['key'] = $key;
	} catch (Exception $e) {
		$errorInfo[] = $e->getMessage();
	}

}

return $result;
